package org.easy.tool.controller;

import org.easy.tool.common.R;
import org.easy.tool.service.IUserProblem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 *  UserProblem模块
 * @author Valley
 * @since 2023-08-25 14:20:43
 */
@RestController
@RequestMapping("/userProblem")
@CrossOrigin
public class UserProblemController {

    @Autowired
    IUserProblem userProblemService;

    /**
     * 功能：下一个题目
     */
    @GetMapping("nextUserProblem")
    public R nextUserProblem(String userId) throws Exception {
        return R.ok();
    }

}
